<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Unity WebView</title>
  </head>

	<script type="text/javascript">                                                                                                                                                                                                                                                                                                                                                                                                                                       
		function myFunction()
		{
			Unity.call('Call JS From Unity');
		}
	</script>

  <body>
    <h1>Hello Unity WebView!</h1>
    <hr/>

    <p><a href="https://www.baidu.com">https://www.baidu.com</a> (for testing go/back buttons)</p>
    <p><img src="sample.jpg"/> (local image)</p>

    <hr/>
    <p><a href="javascript:void(0)" onclick="Unity.call('Send Message Test From Js');">[Send Message!]</a></p>
    <form method="get" action="form">
      <input id="input1" type="text" value="hoge" name="msg"/>
      <input type="submit" value="Send Message!" onclick="Unity.call('form?msg=' + document.getElementById('input1').value); return false;"/>
    </form>
  </body>
</html>
